package com.shzq.dao;

import com.shzq.dao.sqlUtil.CountMapperProvider;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface CountMapper {

    @SelectProvider(type = CountMapperProvider.class,method = "countByTimeQuantumWithDepth")
    Integer countByTimeQuantumWithDepth(Map map);

    @SelectProvider(type = CountMapperProvider.class,method = "countByTimeQuantumWithStrength")
    Integer countByTimeQuantumWithStrength(Map map);

    @SelectProvider(type=CountMapperProvider.class,method = "countByQuarterWithDepth")
    Integer countByQuarterWithDepth(Map map);

    @SelectProvider(type=CountMapperProvider.class,method = "countByQuarterWithStrength")
    Integer countByQuarterWithStrength(Map map);

}
